{% block user_block %}
{% if app.user %}


<a href="" id="welcome" class="panelTrigger">Welcome {{ app.user }}</a>
<div id="welcome-menu" class="panelContainer">
    <ul>
        <li><a href="">Change Password</a></li>
        <li><a href="{{ url('sonata_user_admin_security_logout') }}">{{ 'user_block_logout'|trans({}, 'SonataUserBundle') }}</a></li>
    </ul>
</div>    
    {% endif %}
{% endblock %}
